package com.app.mymusic.adapter;

import com.app.mymusic.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by Administrator on 2016/8/12.
 */
public class SkinSettingAdapter extends BaseQuickAdapter<Integer,BaseViewHolder>{

    public SkinSettingAdapter(int layoutResId, List<Integer> data) {
        super(layoutResId, data);
    }
    @Override
    protected void convert(BaseViewHolder baseViewHolder, Integer integer) {
        baseViewHolder.setImageResource(R.id.skin_item_img,integer);
    }
}
